<?php
//include Header
$path = $_SERVER['DOCUMENT_ROOT'];
include("$path/header.php");
?>

<HTML>
<head>
<meta http-equiv="refresh" content="0; URL=shoppingChart.php">
</head>
<BODY>
<?php

 $aantal=$_POST["aantal"];
  $klantnummer=$_POST["klantnummer"];
 $productnummer=$_POST["productnummer"]; 
 mysql_query("	UPDATE mandje
				SET aantal=".$aantal."
				WHERE klantnummer=".$klantnummer."
				AND productnummer=".$productnummer.""); 
 Print "Your information has been successfully added to the database.";
?>
</BODY>
</HTML>

<?php
//include footer
include("$path/footer.php");
?>